package cn.com.bob.library.service;

import cn.com.bob.library.entity.BookType;
import com.baomidou.mybatisplus.extension.service.IService;
import io.swagger.models.auth.In;

/**
* @author 12948
* @description 针对表【book_type】的数据库操作Service
* @createDate 2023-06-30 08:27:12
*/
public interface BookTypeService extends IService<BookType> {

    /**
     * 类别数加1
     * @param typeId:
     * @return void
     */
    void addBookSum(Integer typeId);

    /**
     * 类别数 -1
     * @param typeId:
     * @return void
     */
    void subBookSum(Integer typeId);
}
